package Work4;

public class Work {
    String name;
    int day;
    double money;
    public void print(){
        System.out.println("name:"+name+money+"*"+day+"*1.0"+"="+money*day);
    }

    public Work(String name, int day, double money) {
        this.name = name;
        this.day = day;
        this.money = money;
    }
}
